class Admin::OptionsController < Admin::BaseController
  def index
    edit
    render :action => 'edit'
  end
  
  def edit
    @lough = @current_lough
  end
  
  def update
    @lough = Lough.find(params[:id])
    if @lough.update_attributes(params[:lough].symbolize_keys)
      flash[:notice] = "Success"
      redirect_to admin_url
    else
      render :action => 'edit'
    end
  end
end
